﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PolePosition.v3.Desktop.Grids
{
    public interface IGridBase
    {
        void DoAsynchLoad(System.ComponentModel.DoWorkEventArgs e);
        void AsychLoadComplete(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e);

        void DoAsynchSave(System.ComponentModel.DoWorkEventArgs e);
        void AsychSaveComplete(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e);

        void DoAsynchGetKml(System.ComponentModel.DoWorkEventArgs e);
        void AsychGetKmlComplete(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e);

        void DoSearch(Common.Enumerations.GridSearchByTpes searchBy, string searchBytext);
        void DoExportToExcel();
        void DoEdit();
        void DoOpen();
        void DoMapForGrid();
        void DoMapForRecord();
        void DoRefresh();

        bool ContextShowAllowed();
    }
}
